import baseModel from './baseModel';

class monitorAlarmModel extends baseModel {

    constructor(options){
        super(options)
    }
    // projectId, currentPage, pageSize 
    queryList(data){
        let url = ` /api/alarm-tb/query-alarm`;
        return this.$get(url, data)
    }

    deviceSearch(data){
        let url = ` /api/alarm-record/device-search`;
        return this.$post(url, data)
    }

    search(data){
        let url = ` /api/alarm-tb/search`;
        return this.$post(url, data)
    }

    queryDeviceRecord(data){
        let url = ` /api/alarm-record/query`;
        return this.$get(url, data)
    }
    
    deviceTransUpdate(data){
        let url = ` /api/deviceTrans/update`;
        return this.$post(url, data)
    }


}

export default monitorAlarmModel;